<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        /* 1.定义一个输入框的变量
        2.定义一个值为10的变量
        3.最后相除 */
        let use = prompt('请输入数据');
        let num = 10;
        console.log(Math.ceil(use / num));
    </script>
</body>

</html>